/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2023 All Rights Reserved.
 */
package com.example.spider.proxy.core.tester;

import com.example.spider.util.HeaderUtil;

import java.util.Map;

/**
 *
 */
public class TestConstant {
    // http://httpbin.org/get?show_env=1
    public static final String DEFAULT_TEST_URL = "http://mock.itlym.cn/test";

    public static final int DEFAULT_TEST_SUCCESS_CODE = 200;

    public static final String PROXY_ANONYMITY_TEST_URL = "http://proxydb.net/anon";

    public static final String PROXY_GEO_LOCATION_TEST_URL = "http://proxydb.net/geo_lookup";

    public static final String PROXY_LOCATION_TEST_URL = "http://mip.chinaz.com/?query="; // + ip

    public static final int DEFAULT_TEST_TIME_OUT = 10_000;

    public static final Map<String, String> DEFAULT_HEADER = HeaderUtil.defaultHeaders(DEFAULT_TEST_URL);
}